package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("coach_account")
public class CoachAccount {
    @TableId(type = IdType.AUTO)
    private Long coachAccountId;
    private String coachUsername;
    private String coachPassword;
    private String coachRole;
    private Long coachId;
    private Coach coach;
}
